import ReactDOM from "react-dom";

function Child() {
    return ReactDOM.createPortal(
        <h1>hello child</h1>,
        document.querySelector("#root2")
    );
}

export default Child;
